package com.lclz.model;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;

public class NewsDetail {

	private int id;
	private String title;
	private String url;
	private String body;
	private int commentCount;
	private String author;
	private int authorid;
	private String pubDate;
	private String softwarelink;
	private String softwarename;
	private int favorite;
	private Relativies relativies;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public int getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(int commentCount) {
		this.commentCount = commentCount;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public int getAuthorid() {
		return authorid;
	}

	public void setAuthorid(int authorid) {
		this.authorid = authorid;
	}

	public String getPubDate() {
		return pubDate;
	}

	public void setPubDate(String pubDate) {
		this.pubDate = pubDate;
	}

	public String getSoftwarelink() {
		return softwarelink;
	}

	public void setSoftwarelink(String softwarelink) {
		this.softwarelink = softwarelink;
	}

	public String getSoftwarename() {
		return softwarename;
	}

	public void setSoftwarename(String softwarename) {
		this.softwarename = softwarename;
	}

	public int getFavorite() {
		return favorite;
	}

	public void setFavorite(int favorite) {
		this.favorite = favorite;
	}

	@XmlElement(name="relativies",type=Relativies.class)
	public Relativies getRelativies() {
		return relativies;
	}

	public void setRelativies(Relativies relativies) {
		this.relativies = relativies;
	}
	
}
